package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.BsLottery;
import com.ruoyi.system.domain.BsLotteryHistory;
import com.ruoyi.system.domain.SysElectronic;

/**
 * 抽奖号码Service接口
 * 
 * @author ruoyi
 * @date 2022-12-25
 */
public interface IBsLotteryService 
{
    /**
     * 查询抽奖号码
     * 
     * @param lotteryId 抽奖号码主键
     * @return 抽奖号码
     */
    public BsLottery selectBsLotteryByLotteryId(Long lotteryId);

    /**
     * 查询抽奖号码列表
     * 
     * @param bsLottery 抽奖号码
     * @return 抽奖号码集合
     */
    public List<BsLottery> selectBsLotteryList(BsLottery bsLottery);

    /**
     * 新增抽奖号码
     * 
     * @param bsLottery 抽奖号码
     * @return 结果
     */
    public int insertBsLottery(BsLottery bsLottery);

    /**
     * 修改抽奖号码
     * 
     * @param bsLottery 抽奖号码
     * @return 结果
     */
    public int updateBsLottery(BsLottery bsLottery);

    /**
     * 批量删除抽奖号码
     * 
     * @param lotteryIds 需要删除的抽奖号码主键集合
     * @return 结果
     */
    public int deleteBsLotteryByLotteryIds(Long[] lotteryIds);

    /**
     * 删除抽奖号码信息
     * 
     * @param lotteryId 抽奖号码主键
     * @return 结果
     */
    public int deleteBsLotteryByLotteryId(Long lotteryId);

    String importUser(List<BsLottery> userList, boolean updateSupport, String operName);

    List<String> onLottery(Long lotteryNums);

}
